package com.zyh.preview.bean;

import java.util.Scanner;

public class Circle {
    public double r;
    public void showArea(){
        System.out.println("周长是："+2*Math.PI*r);
    }
    public void showPerimeter(){
        System.out.println("面积是："+Math.PI*r*r);
    }
}
